package com.Maykk.Demo03;

/**
 * @ClassName Mouse
 * @Description: TODO
 * @Author: MaykkSTAR@163.com
 * @DATE: 2023/3/14
 */
public class Mouse implements USB {
    @Override
    public void on() {
        System.out.println("鼠标被插入了~~");
    }

    @Override
    public void off() {
        System.out.println("鼠标被拔出了~~");
    }

    public void leftClick() {
        System.out.println("鼠标左键被点击了~~~");
    }

    public void rightClick() {
        System.out.println("鼠标右键被点击了~~");
    }
}
